"Advanced file options" panel

This panel gives more control over how the file is processed when loading. For more controls over the display after loading, see the "Advanced display options" panel.

Two sets of XY/XZ/ZY toggle buttons control how to process the file. These follow the kvis convention : XY=RA-Dec, XZY=RA-Vel, ZY=Dec-Vel in a typical observational data file. 
The "export" buttons set which of these projections should be used when converting the file to a FRELLED-compatible sequence of PNG images. Ideally, use all three. For larger files this can be a slow process, however, so having the option to disable these can give much faster loading times. Similarly, the "import" buttons control which projection, once exported, will be actually shown in FRELLED.

"Diff. cols" toggle selects a different data range (using the adjacent sliders) for the colour values than the opacity values. By default this is false.
Note that each FRELLED map consists of a sequence of PNG images, each containing colour and opacity information. The colour is set based on the colour scheme chosen by the user, but the opacity information is generally generated by a greyscale map regardless of the user's choice (with a few innately suitable exceptions). This ensures that the transparency always varies between completely transparent and completely opaque.
If this setting is changed, the data must be reloaded.

"Log cols" allows a logarithmic colour transfer function for the colours. This means one can have a linear transparency CTF but a logarithmic colour CTF, or vice-versa depending on the settings.
If this setting is changed, the data must be reloaded.

"Viewport shading mode" sets how to display the data in the 3D window, and can be altered after loading the data :
- Textured. The default view which FRELLED is designed for and almost always the correct choice.
- Box. Show everything as cuboids based on their maximum extent. Essentially only useful for debugging.
- Wireframe : Show everything based on its edges. Can be useful for isosurfaces.
- Plain surfaces. Show the faces of every 3D object as smooth grey. Again useful for isosurfaces but not much else.
- Material. Basically the same as Textured, included for completeness.
- Rendered. NOT RECOMMENDED ! Shows the data using Blender's render engine. Much more powerful than the default view, but VERY slow.

"Stretch to cube" : forces the Z-axis to be shown at the same size as the X-axis. 
Conventionally, the Z-axis in observational data is the spectral axis, which has a completely different nature to the spatial component. Thus, sometimes cubes can have far more or fewer channels than they do spatial pixels, so the data could appear elongated or compressed. Forcing them to appear of equal size can make for a much better display, though sometimes it's better to disable this.
If this setting is changed, the data must be reloaded. However, the Export toggles can all be disabled and only the Import toggles used, as the data has already been exported to PNG images.

"Sparse factor" : in 3D mode, the data is shown as the sum of opacity values along the line of sight. Therefore, if the data isn't a perfect cube, it will always appear more opaque from one orientation than other, since there will be a different number of slices in each projection. To overcome this, this factor ensures that only every nth slice of the data is rendered and imported, such that all three projections have approximately the same number of visible slices. This has two effects. First, since Blender's colour precision is rather limited, it generally makes for a much higher quality display when using large files. Second, by reducing the number of slices used, it greatly decreases loading times. It is usually worth leaving this at the default value. The settings are as follows :
0 = disable sparse sampling and load every slice in every projection loaded
1 = default, attempt to equalise to the shortest projection (best balance of speed and quality)
n = every nth slice, scaled by the shortest projection
Note that if you export the projections and then try and re-import them using a different value for the sparse factor, you will likely get an error as some of the images won't exist.